package com.lumlord.exception;

public class BusinessException  extends RuntimeException{
    private int code;
    public BusinessException() {
        super();
    }
    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(String msg,int code) {
        super(msg);
        this.code=code;
    }
    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }

}
